import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';

const project: AppRouteModule = {
  path: '/alarmManagement',
  name: 'AlarmManagement',
  component: LAYOUT,
  redirect: '',
  id: '8',
  meta: {
    orderNo: 8,
    icon: 'ant-design:alert-outlined',
    title: '报警管理',
  },
  children: [
    {
      id: '8-1',
      path: 'home',
      name: 'AlertRulesHome',
      component: () => import('/@/views/project/alertRules/home.vue'),
      meta: {
        title: '报警首页',
      },
    },
    {
      id: '8-2',
      path: 'statistics',
      name: 'AlertRulesStatistics',
      component: () => import('/@/views/project/alertRules/statistics.vue'),
      meta: {
        title: '报警统计',
      },
    },
    {
      id: '8-3',
      path: 'record',
      name: 'AlertRulesecord',
      component: () => import('/@/views/project/alertRules/record.vue'),
      meta: {
        title: '报警明细',
      },
    },
    {
      id: '8-4',
      path: 'index',
      name: 'AlertRulesIndex',
      component: () => import('/@/views/project/alertRules/index.vue'),
      meta: {
        title: '报警配置',
      },
    },
    
    {
      id: '8-5',
      path: 'diagnosis',
      name: 'AlertRulediagnosis',
      component: () => import('/@/views/project/alertRules/diagnosis.vue'),
      meta: {
        title: '远程诊断',
        hideMenu: true,
      },
    },
  ],
};

export default project;
